add binary autoencoder test